<%@ Page Language="vb" AutoEventWireup="false" CodeFile="sessioniEsami.aspx.vb" Inherits="sessioniEsami"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>Sessioni esami</title><!--#Include File="../lib/calendar.asp"-->
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../style.css" type="text/css" rel="StyleSheet">
		<script language="javascript">
			
			function chiudi(){
				w = eval("window.opener.Form1.opName");
				window.opener.navigate(w.value);
				self.close();  
			}
			
		</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<div align="center">
				<!-- tabella di contorno, bordo rosso -->
				<table width="700" cellpadding="0" cellspacing="0" border="1" style="BORDER-RIGHT:1px; BORDER-TOP:1px; BORDER-LEFT:1px; BORDER-BOTTOM:1px"
					bordercolor="#de0029" id="tabella di contorno">
					<tr>
						<td width="100%" bgcolor="#de0029">
							<table cellSpacing="0" cellPadding="0" width="700" border="0" ID="Table1" bgcolor="#ffffff"
								style="BORDER-COLLAPSE: collapse" bordercolor="#111111">
								<tr>
									<td width="6">
										<img src="../images/x.gif" width="1" height="1"></td>
									<td width="15">
										<img src="../images/quadratino_rosso.gif" width="10" height="10"></td>
									<td width="328" height="10"><span class="titolo">Sessioni esami </span>
									</td>
									<td width="327">
										<p align="right"><span class="blu"><INPUT class="blu" id="btChiudi" style="BACKGROUND-POSITION: right center; BACKGROUND-IMAGE: url(../images/chiudi.gif); VERTICAL-ALIGN: sub; WIDTH: 67px; CURSOR: hand; BORDER-TOP-STYLE: none; BACKGROUND-REPEAT: no-repeat; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 19px; BACKGROUND-COLOR: transparent; TEXT-ALIGN: left; BORDER-BOTTOM-STYLE: none"
													onclick="chiudi();" type="button" value="chiudi" name="btChiudi"></span></p>
									</td>
								</tr>
								<tr>
									<td colspan="4" width="100%" height="5"><img src="../images/x.gif" width="1" height="5"></td>
								</tr>
							</table>
							<table cellSpacing="0" cellPadding="0" width="700" border="0" ID="Table1" bgcolor="#ffffff"
								style="BORDER-COLLAPSE: collapse" bordercolor="#111111">
								<tr>
									<td width="100%" height="15"><img src="../images/x.gif" width="1" height="5"></td>
								</tr>
							</table>
							<TABLE width="700" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
								<TR>
									<TD width="6" valign="top"><img src="../images/x.gif" alt=""></TD>
									<TD width="688" height="20" valign="top" bgcolor="#ffffff">
										<p>
											<asp:datagrid id="dgEsami" runat="server" Width="100%" AllowPaging="false" PagerStyle-Position="Top"
												PagerStyle-Mode="NumericPages" AutoGenerateColumns="False" AllowSorting="True" PagerStyle-CssClass="ordinato"
												BorderColor="#1A49A3" GridLines="Horizontal" BackColor="White">
												<Columns>
													<asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
													<asp:TemplateColumn>
														<HeaderStyle VerticalAlign="Top"></HeaderStyle>
														<ItemStyle CssClass="nero"></ItemStyle>
														<HeaderTemplate>
															<span class="blu"><b>Sessione</b></span>
														</HeaderTemplate>
														<ItemTemplate>
															<asp:LinkButton id="lkVedi" CausesValidation="False" CssClass="nero_bold" CommandName="vedi" runat="Server">
																<%# DataBinder.Eval(Container.DataItem, "sessione") %>
															</asp:LinkButton>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn>
														<HeaderStyle VerticalAlign="Top"></HeaderStyle>
														<ItemStyle CssClass="nero"></ItemStyle>
														<HeaderTemplate>
															<span class="blu"><b>Presso</b></span>
														</HeaderTemplate>
														<ItemTemplate>
															<%# DataBinder.Eval(Container.DataItem, "presso") %>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn>
														<ItemTemplate>
															<asp:LinkButton Runat="server" CausesValidation="False" ID="lkElimina" CommandName="elimina" CssClass="blu"><img src="../images/elimina.gif" border="0">&nbsp;elimina</asp:LinkButton>
														</ItemTemplate>
													</asp:TemplateColumn>
												</Columns>
												<PagerStyle Position="Top" CssClass="ordinato" Mode="NumericPages"></PagerStyle>
											</asp:datagrid><BR>
											<asp:linkbutton id="lkNuovo" CssClass="blu" Runat="server"><img src="../images/aggiungi.gif" border="0">&nbsp;aggiungi</asp:linkbutton>
											<TABLE id="Table2" borderColor="#1a49a3" cellSpacing="1" cellPadding="4" width="100%" bgColor="#ffffff"
												border="1">
												<TR>
													<TD style="HEIGHT: 24px" colSpan="4"><SPAN class="blu"><IMG height="7" src="../images/quadratino_blu.gif" width="7">&nbsp;<B>Dati 
																esame di stato</B></SPAN>
														<asp:textbox id="txId" Runat="server" Visible="False"></asp:textbox></TD>
												</TR>
												<TR>
													<TD><SPAN class="nero">Anno</SPAN><BR>
														<asp:textbox id="txAnno" runat="server" Width="48px" CssClass="nero" Font-Bold="True"></asp:textbox>
														<asp:requiredfieldvalidator id="Requiredfieldvalidator2" runat="server" CssClass="nero" ErrorMessage="RequiredFieldValidator"
															ControlToValidate="txAnno">Obbligatorio</asp:requiredfieldvalidator></TD>
													<TD><SPAN class="nero">Num. sessione</SPAN><BR>
														<asp:textbox id="txNum" runat="server" Width="150px" MaxLength=20 CssClass="nero" Font-Bold="True"></asp:textbox>&nbsp;
														<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" CssClass="nero" ControlToValidate="txNum"
															ErrorMessage="RequiredFieldValidator">Obbligatorio</asp:requiredfieldvalidator></TD>
													<TD><SPAN class="nero">Data prova scritta<BR>
														</SPAN>
														<asp:textbox id="txDataScritto" runat="server" Width="80px" CssClass="nero" ReadOnly="True"></asp:textbox><IMG height="1" src="../../images/x.gif" width="5" border="0"><IMG onclick="fPopCalendar(txDataScritto,txDataScritto);" height="16" src="../images/calbutton.gif"
															width="16" border="0"></TD>
													<TD><SPAN class="nero">Data prova orale</SPAN><BR>
														<asp:textbox id="txDataOrale" runat="server" Width="80px" CssClass="nero" ReadOnly="True"></asp:textbox><IMG height="1" src="../../images/x.gif" width="5" border="0"><IMG onclick="fPopCalendar(txDataOrale,txDataOrale);" height="16" src="../images/calbutton.gif"
															width="16" border="0"></TD>
												</TR>
												<TR>
													<TD colSpan="4"><SPAN class="nero">Istituto<BR>
															<asp:dropdownlist id="dIstituto" runat="server" CssClass="nero" DataValueField="id" DataTextField="denominazione"></asp:dropdownlist></SPAN><BR>
														<IMG height="1" src="../../images/x.gif" width="5" border="0"></TD>
												</TR>
												<TR>
													<TD align="right" colSpan="4">&nbsp;&nbsp;
														<asp:linkbutton id="Linkbutton2" Runat="server" CssClass="blu"><img src="../images/salva.gif" border="0">&nbsp;salva</asp:linkbutton>&nbsp;
														<asp:linkbutton id="Linkbutton1" Runat="server" CssClass="blu"><img src="../images/annulla.gif" border="0">&nbsp;annulla</asp:linkbutton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
												</TR>
											</TABLE>
										</p>
									</TD>
									<TD width="6" valign="top"><img src="../images/x.gif" alt=""></TD>
								</TR>
								<TR>
									<TD width="6" valign="top" bgcolor="#fff8f9"><img src="../images/x.gif" alt="" height="5"></TD>
									<TD width="688" height="20" valign="top" bgcolor="#fff8f9"></TD>
									<TD width="6" valign="top" bgcolor="#fff8f9"><img src="../images/x.gif" alt="" height="5"></TD>
								</TR>
							</TABLE>
						</td>
					</tr>
				</table>
		</form>
		</DIV>
	</body>
</HTML>
